package com.yonyou.pmclouds.basecom.conf;

import com.yonyou.iuap.print.client.servlet.PrintDelegateServlet;
import org.springframework.boot.web.servlet.ServletRegistrationBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class PrintDelegateServletConfiguration {
    @Bean
    public ServletRegistrationBean printDelegateServlet(){
        return new ServletRegistrationBean(new PrintDelegateServlet(),"/print/printdelegate");
    }
}
